﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="Recycle .aspx.cs" Inherits="FileManager_Recycle_" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link type="text/css" rel="Stylesheet" href="../css/ScheduleManagerCss.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px; font-size: 12px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            回收站</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr style="margin-bottom: 8px" />
        <div style="margin: 10px 50px;">
            <asp:GridView ID="GridView1" runat="server" Width="764px" AutoGenerateColumns="False"
                Height="77px" DataKeyNames="FileId" onrowcommand="GridView1_RowCommand" 
                onrowdeleting="GridView1_RowDeleting">
                <Columns>
                    <asp:BoundField HeaderText="文件名称" DataField="FileName" />
                    <asp:BoundField HeaderText="所在文件夹" DataField="FilePath" />
                    <asp:TemplateField HeaderText="类型">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("FileType.FileTypeName") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label3" runat="server" Text='<%# Bind("FileType.FileTypeName") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="操作者" DataField="FileOwner" />
                    <asp:TemplateField HeaderText="还原">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton1" runat="server" CommandName="chexiao" ImageUrl="~/imges/chexiao.png" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="永久删除">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton2" runat="server" Height="16px" CommandName="delete"
                                ImageUrl="~/imges/delete.png" Width="16px" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <HeaderStyle BackColor="#66CCFD" ForeColor="White" />
                <RowStyle BackColor="#DFDFDF" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
